﻿@model javanet_demo.Models.ChangeMilestoneModel

@{
    ViewBag.Title = "Java.NET";
}

<h2>@ViewBag.Message</h2>
<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>


@using (Html.BeginForm()) {
    <div>
        <fieldset>
            <legend>Milestone Information</legend>

            <div class="editor-label">
                @Html.LabelFor(m => m.Code)
            </div>
            <div class="editor-field">
                @Html.TextBoxFor(m => m.Code)
                @Html.ValidationMessageFor(m => m.Code)
            </div>

            <div class="editor-label">
                @Html.LabelFor(m => m.Name)
            </div>
            <div class="editor-field">
                @Html.TextBoxFor(m => m.Name)
                @Html.ValidationMessageFor(m => m.Name)
            </div>

            <div class="editor-label">
                @Html.LabelFor(m => m.Date)
            </div>
            <div class="editor-field">
                @Html.TextBoxFor(m => m.Date)
                @Html.ValidationMessageFor(m => m.Date)
            </div>

            <p>
                <input type="submit" value="Save" />
            </p>
        </fieldset>
    </div>
}
